﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AssignmentsManage.Utils
{
    public static class StringHelper
    {
        public static char[] DangerousXMLChars
        {
            get
            {
                return new char[]{'/', '<', '>'};
            }
        }

        public static String RemoveDangerousXMLChars(String input)
        {
            return input
                .Replace("<", String.Empty)
                .Replace(">", String.Empty)
                .Replace("/", String.Empty);
        }
    }
}
